<link href="../../style/rpt-design.css" rel="stylesheet" type="text/css" />
<link href="../../style/rpt.css" rel="stylesheet" type="text/css" />
<div>
<div class="pageheader">Hyrpt DEMO - 报表演示 ${TODAY} ${title}</div>
<div class="pagetitle">${title}</div>
<div id="__report">
<table class="--sheet">
  <tr class="__header">
    <th scope="col">A</th>
    <th scope="col">B</th>
    <th scope="col">C</th>
    <th scope="col">D</th>
    <th scope="col">比上季度</th>
    <th scope="col">比去年同期</th>
  </tr>
  <tr class="__data">
    <th>&nbsp;</th>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>=( x%12!=1 ) ? percent([D,x],[D,x-1]) : ""</td>
    <td>=( x%12&lt;1 || x%12&gt;4 ) ? percent([D,x],[D,x-4]) : &quot;&quot;</td>
  </tr>
  <tr>
    <th>合计:</th>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td class="money">=sum(D)</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <th>&nbsp;</th>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td class="money">=rmb([D,x-1])</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
</table>
<table width="100%" border="1" class="__sheet">
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>dsadsad</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
</table>
<table width="100%" border="1" class="__sheet 2 ___datasource 3 data">
  <tr>
    <td>${sum()}</td>
  </tr>
</table>
</div>
</div>
